﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YouTubeStormer
{
    class Urls
    {
        public static string YoutubeBareHostUrl = "www.youtube.com";
        public static string YoutubeWatchUrl = "http://www.youtube.com/watch?v=";
        public static string YoutubeBaseUrl = "http://www.youtube.com/";
        public static string YoutubeAuthenticationUrl = "https://www.google.com/accounts/ServiceLoginAuth?service=youtube";
        public static string YoutubePreAuthenticationUrl = "https://www.google.com/accounts/ServiceLogin?uilel=3&service=youtube&passive=true&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252F&hl=en_US&ltmpl=sso";
        public static string YoutubeCheckCookieUrl = "https://www.google.com/accounts/CheckCookie?continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252Findex&hl=en_US&service=youtube&ltmpl=sso&chtml=LoginDoneHtml";
        public static string YoutubeLoginAuthorizationUrl = "http://www.youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=%2Findex&auth=";
        public static string YoutubeCommentUrl = "http://www.youtube.com/comment_servlet?add_comment=1&comment_type=V&";
        public static string YoutubeAuthContinueUrl = "http://www.youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=%2Findex";
        public static string YoutubeCommentServerUrl = "http://www.youtube.com/comment_servlet?all_comments=1&v=";
        public static string YoutubeCaptchaFetchUrl = "http://www.youtube.com/comment_servlet?gimme_captcha=1&watch5=1";
        public static string YoutubeCaptchaImageUrl = "http://www.youtube.com/cimg?c=";
        public static string YoutubeCaptchaDasUrl = "http://www.youtube.com/das_captcha";

        public static string CaptchaTriggerString = "challenge_enc\" value=\"";

        public static string GetVideoUrl(string videoID)
        {
            return YoutubeWatchUrl + videoID;
        }
    }
}
